package com.tem.customer.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author 腾木
 * @since 2023-11-20
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("membership")
@ApiModel(value="Membership对象", description="")
public class Membership implements Serializable {
    private static final long serialVersionUID=10890423465681324L;
    @ApiModelProperty(value = "会员级别")
    @TableId(value = "membership_id", type = IdType.AUTO)
    private Long membershipId;

    @ApiModelProperty(value = "企业/分店")
    @TableField("sys_branch_office_id")
    private Long sysBranchOfficeId;

    @ApiModelProperty(value = "系統")
    @TableField("system_level_id")
    private Long systemLevelId;

    @ApiModelProperty(value = "级别名称")
    @TableField("membership_name")
    private String membershipName;

    @ApiModelProperty(value = "详细描述")
    @TableField("membership_detail")
    private String membershipDetail;

    @ApiModelProperty(value = "级别序号 升序")
    @TableField("level")
    private Integer level;

    @ApiModelProperty(value = "升级积分")
    @TableField("upgrade_shop_point")
    private Integer upgradeShopPoint;

    @ApiModelProperty(value = "1 0")
    @TableField("status")
    private Integer status;

    @ApiModelProperty(value = "逻辑删除-1 1")
    @TableField("deleted")
    @TableLogic
    private Integer deleted;


}
